<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	@import "uview-ui/index.scss";
	
	/*每个页面公共css */
	// @font-face {
	//     font-family:woodsFont;
	//     src: url('https://jhxs2023.oss-cn-hangzhou.aliyuncs.com/woodsFont.TTF');
	// }
	.flex{
		display: flex;
		align-items: center;
	}
	::-webkit-scrollbar {
	  display: none;
	  width: 0;
	  height: 0;
	  color: transparent;
	}
	.woodsbtn{
		width: 300rpx;
		padding:25rpx 30rpx;
		background: $uni-color-primary;
		font-weight: bold;
		border-radius: 30px;
		color: #fff;
		text-align: center;
		margin: 0 auto;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	uni-swiper .uni-swiper-dot-active {  
	    width: 20px !important; 
		 border-radius: 10rpx;
	
	   /* background-color: #3f3f3f !important;  */
	
	}
	uni-swiper  .uni-swiper-dots-horizontal{
		bottom:-20px !important;
		z-index: 9999;
	}
	view,text{
		color: #1D2541;
		box-sizing: border-box;
	}
	.wxbtn{
		background-color:rgb(255, 255, 255); //可根据自己的背景颜色自行设置
		border-radius: 0rpx;
		padding:0rpx;
		margin:0rpx;
		display: inline-block;
		line-height: 1;
		border: none;
	}
	.wxbtn::after{ /*button的边框样式是通过::after方式实现的*/
		border:none;
	}
	.nothing{
		text-align: center;
		margin: 160rpx 0 30rpx;
		color: #666;
	}
	.text-overflow2{
		overflow: hidden;/*超出文本隐藏*/
		text-overflow:ellipsis; /*超出部分省略号显示 */
		display: -webkit-box;/*弹性盒模型*/
		-webkit-box-orient: vertical;/*上下垂直*/
		-webkit-line-clamp: 2;/*自定义行数*/ 
	}
	.footer {
		position: fixed;
		width: 100%;
		// height: 120rpx;
		bottom: 0;
		left: 0;
		background: rgba(251, 252, 255, 0.90);
		box-shadow: 0px -1px 0px 0px rgba(0, 0, 0, 0.02);
		backdrop-filter: blur(16px);
		display: flex;
		align-items: center;
		justify-content: center;
		padding-top: 20rpx;
		padding-bottom: 0;
		padding-bottom: constant(safe-area-inset-bottom);
		padding-bottom: env(safe-area-inset-bottom);
		view {
			width: 620rpx;
			height: 90rpx;
			background-color: #dadada;
			border-radius: 50rpx;
			text-align: center;
			line-height: 90rpx;
			color: #fff;
		}
	
		.btn {
			background-color: $uni-color-primary;
		}
	}
	.rmb{
		font-weight: 600;
		font-size: 28rpx;
		color: #333333;
	}
	.safeBottom{
		padding-bottom: 0;
		// IOS <11.2
		padding-bottom: constant(safe-area-inset-bottom);
		// iso >11.2
		padding-bottom: env(safe-area-inset-bottom);
		 // 安全距离设置后，一定要设置背景，不然滚动的内容在下方可以看到
		background-color: #fff; 
	}
</style>
